projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d10d04
)
Don't call unbind_for_thread_switch in run_thread
author
Tom Tromey
<tromey@redhat.com>
Wed, 3 Jul 2013 19:42:31 +0000
(13:42 -0600)
committer
Tom Tromey
<tromey@redhat.com>
Wed, 3 Jul 2013 19:42:31 +0000
(13:42 -0600)
This removes the call to unbind_for_thread_switch from run_thread.
This isn't necessary because acquire_global_lock does it properly.
src/thread.c
patch
|
blob
|
history
diff --git
a/src/thread.c
b/src/thread.c
index 8f58faf1b089316857c0f0b4c38e5646411e2dd0..0235944ccdc32c7f1debbd7291583de2b2206174 100644
(file)
--- a/
src/thread.c
+++ b/
src/thread.c
@@
-637,8
+637,6
@@
run_thread (void *state)
/* It might be nice to do something with errors here. */
internal_condition_case (invoke_thread_function, Qt, do_nothing);
- unbind_for_thread_switch ();
-
update_processes_for_thread_death (Fcurrent_thread ());
/* Unlink this thread from the list of all threads. */